import { makeAutoObservable } from 'mobx';
import { injectable } from 'inversify';

@injectable()
export class DashboardModel {
  private _loading = false;

  get loading() {
    return this._loading;
  }

  set loading(loading: boolean) {
    this._loading = loading;
  }
  constructor() {
    makeAutoObservable(this);
  }

  dispose() {
    this.loading = false;
  }
}
